#include <iostream>
#include "array.h"

int main() {
	Array array(2);
	array.push_back(1);
	array.push_back(2);
	array.push_back(3);
	array.push_back(4);
	array.push_back(5);
	array.set(4, 7);

	std::cout << "size: " << array.get_size() << std::endl;
	for (size_t i = 0; i < array.get_size(); i++) {
		std::cout << array.get(i) << " ";
	}
	std::cout << std::endl;

	return 0;
}

